package com.woniuxy01;

import java.util.Arrays;

public class Test04 {
    public static void main(String[] args) {
        String s1="abcdefg";
        for(int i=0;i<s1.length();i++){
            System.out.println(s1.charAt(i));
        }
        char[] chars = s1.toCharArray();
        System.out.println(Arrays.toString(chars));
    }


}
